﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MicropleSoft.WmsApp.Base.DataBinding
{
    public class YesOrNoInt
    {
        public static List<YesOrNoInt> GetList()
        {
            var list = new List<YesOrNoInt>()
                           {
                               new YesOrNoInt(){Code=0,Name="否"},
                               new YesOrNoInt(){Code=1,Name="是"}
                           };
            return list;
        }
        public int Code { get; set; }
        public string Name { get; set; }
    }

    public class YesOrNoString
    {
        public static List<YesOrNoString> GetList()
        {
            var list = new List<YesOrNoString>()
                           {
                               new YesOrNoString(){Code="0",Name="否"},
                               new YesOrNoString(){Code="1",Name="是"}
                           };
            return list;
        }
        public string Code { get; set; }
        public string Name { get; set; }
    }
}
